<div xmlns:th="http://www.thymeleaf.org">
    <div class="card-body" th:if="${pageInfo != null && pageInfo.list.size() != 0}">
        <table class="table table-striped mt-3">
            <thead>
            <tr>
                <th scope="col">薪酬发放单编码</th>
                <th scope="col">组织机构名称</th>
                <th scope="col">总人数</th>
                <th scope="col">基本薪酬金额（元）</th>
                <th scope="col">审核状态</th>
                <th scope="col">登记时间</th>
                <th scope="col">操作</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="map:${pageInfo.list}" th:inline="text">
                <td>[[${map.code}]]</td>
                <td>[[${map.fullName}]]</td>
                <td>[[${map.counto}]]</td>
                <td>[[${map.totalMoney}]]</td>
                <td>[[${map.valueName}]]</td>
                <td>[[${map.createdDate}]]</td>
                <td><a th:if="${map.valueName == '起草' || map.valueName == '驳回'}"
                       th:href="|/payroll/openCrewList/${map.id}/modify|">修改</a>
                    <a th:if="${map.valueName == '审核中'}" th:href="|/payroll/openCrewList/${map.id}/modify|">审核</a>
                    &emsp;
                    <a th:href="|/payroll/openCrewList/${map.id}/detail|">明细</a>&emsp;
                    <a href="javascript:;"
                       th:onclick="|delPayrollO(this,${map.id},${pageInfo.pageNum})|">删除</a></td>
            </tr>
            </tbody>
        </table>
        <div th:replace="common/comm :: #page"></div>
    </div>
    <div th:if="${pageInfo == null || pageInfo.list.size() == 0}">
        暂时没有记录.....
    </div>
</div>